.class Lcom/netease/newsreader/activity/ShowComments$24;
.super Ljava/lang/Object;
.source "ShowComments.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/ShowComments;->setListeners()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ShowComments;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowComments;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    .line 728
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ShowComments$24;)Lcom/netease/newsreader/activity/ShowComments;
    .locals 1
    .parameter

    .prologue
    .line 728
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 8
    .parameter "v"

    .prologue
    const/4 v7, 0x0

    .line 733
    const/4 v0, -0x1

    .line 734
    .local v0, count:I
    const-string v3, ""

    .line 735
    .local v3, voteNum:Ljava/lang/String;
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$62(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v4

    if-eqz v4, :cond_0

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$62(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v4

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 738
    :try_start_0
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$62(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v4

    invoke-interface {v4}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    .line 739
    const/4 v4, 0x2

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v5

    add-int/lit8 v5, v5, -0x1

    invoke-virtual {v3, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    .line 740
    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v4

    add-int/lit8 v0, v4, 0x1

    .line 746
    :cond_0
    :goto_0
    const/4 v4, -0x1

    if-eq v0, v4, :cond_1

    .line 747
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$62(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "\u9876["

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "]"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 748
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$62(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 749
    .local v2, map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v4, "v"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 750
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$98(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    iget-object v5, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v5}, Lcom/netease/newsreader/activity/ShowComments;->access$100(Lcom/netease/newsreader/activity/ShowComments;)Landroid/view/animation/Animation;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 752
    new-instance v4, Lcom/netease/newsreader/activity/ShowComments$24$1;

    invoke-direct {v4, p0, v2}, Lcom/netease/newsreader/activity/ShowComments$24$1;-><init>(Lcom/netease/newsreader/activity/ShowComments$24;Ljava/util/HashMap;)V

    .line 756
    invoke-virtual {v4}, Lcom/netease/newsreader/activity/ShowComments$24$1;->start()V

    .line 757
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowComments;->access$62(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4, v7}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 762
    .end local v2           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :goto_1
    return-void

    .line 741
    :catch_0
    move-exception v1

    .line 743
    .local v1, e:Ljava/lang/NumberFormatException;
    invoke-virtual {v1}, Ljava/lang/NumberFormatException;->printStackTrace()V

    goto :goto_0

    .line 759
    .end local v1           #e:Ljava/lang/NumberFormatException;
    :cond_1
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowComments$24;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    const-string v5, "\u672a\u80fd\u6210\u529f\u6295\u7968"

    invoke-static {v4, v5, v7}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    goto :goto_1
.end method
